# == Schema Information
#
# Table name: carts
#
#  id         :integer          not null, primary key
#  user_id    :integer
#  user_uuid  :string
#  product_id :integer
#  amount     :integer
#  created_at :datetime         not null
#  updated_at :datetime         not null
#  channel_id :integer
#


class CartSerializer < ActiveModel::Serializer
  attributes :id, :amount, :channel_id
  belongs_to :product
end
